package com.dempsey.springboot06securityjwtredis.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dempsey.springboot06securityjwtredis.project.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Dempsey
 * @description 针对表【user】的数据库操作Mapper
 * @createDate 2022-02-09 19:18:34
 * @Entity com.dempsey.springboot06securityjwtredis.project.entity.User
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<String> getUserRoles(Integer userId);
}




